<?php

use think\facade\Route;

// PC 端页面
Route::group(['namespace' => 'index'], function () {
    // 首页
    Route::get('index', 'index/index/index');
    // 文章页
    Route::get('article', 'index/article/index');
    // 文章详情页
    Route::get('article_detail', 'index/article/detail');
    // 车型
    Route::get('car', 'index/lists/index');
    Route::get('car_detail', 'index/lists/detail');
    // 视频中心
    Route::get('video', 'index/video/index');
    // 视频详情
    Route::get('video_detail', 'index/video/video_detail');
    // 视频广场
    Route::get('video_square', 'index/video/video_square');
    // 车型展示
    Route::get('appoint', 'index/appoint/index');
    Route::post('appoint_create', 'index/appoint/create');

    // 关于我们
    Route::get('about_us', 'index/about_us/aboutus');

    // 配置跳转
    Route::get('about','index/index/about');

});

// 移动端页面
//Route::group(['namespace' => 'move.js', 'prefix' => 'move.js'], function () {
//    // 首页
//    Route::get('index', 'move.js/index/index');
//    // 文章页
//    Route::get('article', 'move.js/article/index');
//    // 文章详情页
//    //Route::get('article/detail', 'move.js/Article/detail');
//    Route::get('article/info', 'move.js/Article/detail');
//    // 车型
//    Route::get('lists/index', 'move.js/lists/index');
//    Route::get('car/detail', 'move.js/lists/detail');
//    // 视频中心
//    Route::get('video', 'move.js/video/index');
//    // 视频详情
//    Route::get('video_detail', 'move.js/video/video_detail');
//    // 视频广场
//    Route::get('video_square', 'move.js/video/video_square');
//});
return [

];
